#include "stdafx.h"
#include "wf_zoomautoy.h"



WF_ZoomAutoY::WF_ZoomAutoY(PF_Container& container,
                                       PF_GraphicView& graphicView)
        :PF_ActionInterface("Auto zoom Y", container, graphicView) {}



void WF_ZoomAutoY::trigger() {
    graphicView->zoomAutoY(false);
    finish();
}



void WF_ZoomAutoY::init(int status) {
    PF_ActionInterface::init(status);
    trigger();
}

// EOF
